<form method="post" action="<?php echo $this->url_edit . @$edit->{$this->{$this->model}->primaryKey}; ?>"  enctype="multipart/form-data" class="form-horizontal">
<div class="row">
<div class="col-12">
	<div class="widget-box">
		<div class="widget-title">
			<span class="icon">
				<i class="glyphicon glyphicon-align-justify"></i>									
			</span>
			<h5><?php echo ((@$edit->{$this->{$this->model}->primaryKey} > 0)?'Thông tin ':'Thêm mới ').@strtolower($this->resource->RES_NAME);?></h5>
		</div>
		<div class="widget-content nopadding">
				<?php echo $this->atheme->group_input2('edit[seo_code]', 'SEO CODE', '', 'span6 ', @$edit->seo_code, 'text', ''); ?>
				<?php echo $this->atheme->group_input2('edit[seo_h1]', 'SEO H1', '', 'span6 ', @$edit->seo_h1, 'text', ''); ?>
				<?php echo $this->atheme->group_input2('edit[seo_description]', 'SEO DESCRIPTION', '', 'span6 ', @$edit->seo_description, 'text', ''); ?>
				<?php echo $this->atheme->group_input2('edit[seo_title]', 'SEO TITLE', '', 'span6 ', @$edit->seo_title, 'text', ''); ?>
				<?php echo $this->atheme->group_input2('edit[seo_keyword]', 'SEO KEYWORD', '', 'span6 ', @$edit->seo_keyword, 'text', ''); ?>
				
				<div class="form-actions">
					<button type="submit" class="btn btn-primary btn-small"><?php echo ((@$edit->{$this->{$this->model}->primaryKey} > 0)?'Save':'Add');?></button> or <a class="text-danger" href="<?php echo $this->url_index;?>">Cancel</a>
				</div>
		</div>
	</div>						
</div>
</div>

</form>